package it.infodea.tapestrydea.services;

import org.apache.tapestry5.ioc.Messages;
import org.apache.tapestry5.ioc.Resource;
import org.apache.tapestry5.ioc.internal.util.MessagesImpl;

class TapestrydeaServicesMessages
{
    private static final Messages MESSAGES = MessagesImpl.forClass(TapestrydeaServicesMessages.class);

    static String assetDoesNotExist(Resource resource)
    {
        return MESSAGES.format("asset-does-not-exist", resource);
    }

    static String wrongAssetDigest(Resource resource)
    {
        return MESSAGES.format("wrong-asset-digest", resource.getPath());
    }

}